package com.efast.dmom.mes.service.base;

import java.util.List;

import com.efast.dmom.mes.bean.ResultBean;
import com.efast.dmom.mes.bean.base.BaseBean;

public interface BaseService <T extends BaseBean<?>>{
	
	public ResultBean save(T obj);
	public ResultBean delete(T obj);
	public ResultBean update(T obj);

	public ResultBean save(List<T> list);
	public ResultBean update(List<T> list);
	public ResultBean delete(List<T> list);
	public T getById(long id);
//	public T getByName(String name);
	//public List<T> getAll();
}
